import { ElMessage } from 'element-plus';
//提示消息组件
export const Messages =  (msg: string, ontype: string,el?:any) => {
  ElMessage({
    showClose: true,
    appendTo:el,
    message: msg,
    type: ontype,
    duration: 1000,
  });
};
